<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    x:Class="OpenLS.UI.Themes.ApplicationMenuFooterButtonResources"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:oui="clr-namespace:OpenLS.UI"
    >
  <Style TargetType="{x:Type Button}" x:Key="ApplicationMenuFooterButtonStyle">
    <Setter Property="Height" Value="20"/>
    <Setter Property="Margin" Value="2"/>
    <Setter Property="BorderThickness" Value="1"/>
    <Setter Property="BorderBrush" Value="{DynamicResource {x:Static oui:OfficeBrushes.ComboBoxHoverBorderBrushKey}}"/>
    <Setter Property="Template">
      <Setter.Value>
        <ControlTemplate TargetType="{x:Type Button}">
          <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"
                   BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2" Padding="{TemplateBinding Padding}">
            <ContentPresenter  RecognizesAccessKey ="True" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                               VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
          </Border>
        </ControlTemplate>
      </Setter.Value>
    </Setter>
    <Setter Property="Background" Value="{DynamicResource {x:Static oui:OfficeBrushes.ApplicationMenuFooterButtonBackgroundKey}}"/>
    <Style.Triggers>
      <Trigger Property ="IsMouseOver" Value="True">
        <Setter Property="Background"  Value="{DynamicResource {x:Static oui:OfficeBrushes.ApplicationMenuFooterButtonPressedBackgroundKey}}"/>
        <Setter Property="BorderBrush"  Value="{DynamicResource {x:Static oui:OfficeBrushes.ComboBoxArrowHoverBorderBrushKey}}"/>
      </Trigger>
    </Style.Triggers>
  </Style>
    
</ResourceDictionary>